home *** CD-ROM | disk | FTP | other *** search
/ ShareWare OnLine 2 / ShareWare OnLine Volume 2 (CMS Software)(1993).iso / util1 / attr10.zip / ATTR10.DOC < prev   
Text File  |  1993-03-07  |  4KB  |  101 lines

  1.  
  2. A T T R I B U T E   1 . 0
  3. ============================================================================
  4.  
  5. Attribute 1.0 [ATTR.EXE]
  6. File attribute viewer/editor
  7. Copyright (c) 1993, Brent Buchanan
  8.  
  9. ============================================================================
  10.  
  11. >\<  Program Description
  12.  
  13. Attribute is a file attribute utility, similar to Norton's FA.  It differs
  14. from Norton, however, in that it can handle directories, and it's also
  15. significantly faster.  For an explanation of the different attributes, see
  16. the "Attributes Explained" section below.
  17.  
  18.  
  19. >\<  Program Operation
  20.  
  21.      SYNTAX:  ATTR [options] [drive:][path\]filespec [options]
  22.  
  23.      options:
  24.               /A = Archive
  25.               /H = Hidden                Use + or - following
  26.               /R = Read-Only             the option to set the
  27.               /S = System                attribute on or off.
  28.  
  29.  
  30. Example: ATTR EXAMPLE.EXE /H- /R+
  31.  
  32. This would set the hidden attribute OFF and the read-only attribute ON for
  33. the file EXAMPLE.EXE.  The order of the command line parameters doesn't
  34. matter, so typing ATTR /H- EXAMPLE.EXE /R+ for the above example would have 
  35. the same effect.
  36.  
  37. DOS wildcards can also be used:
  38.  
  39.          ATTR D:\SECRET\*.* /H+
  40.  
  41. This would set the hidden attribute ON for all files in the D:\SECRET\
  42. directory.  If you wanted to hide the D:\SECRET\ directory, you would type:
  43.  
  44.          ATTR D:\SECRET /H+
  45.  
  46. When affecting directories, "hidden" is the only attribute that can be set.
  47.  
  48. If you are on the same drive as the files in the filespec, the drive letter
  49. is optional.  Typing ATTR with a filespec, but no options on the command line 
  50. will list the files in the filespec with their attributes.  Typing ATTR with
  51. options, but no filespec, will set the attributes for the files in the
  52. current directory.  Typing ATTR with neither filespec, nor options, will
  53. list the files in the current directory with their attributes.
  54.  
  55.  
  56. >\<  Attributes Explained
  57.  
  58. The archive attribute is set "on" when a file is created or updated.  It is
  59. used by DOS's backup, xcopy, and restore commands to determine which files 
  60. have changed since they were last backed up.
  61.  
  62. The hidden attribute prevents DOS from displaying a file (or a directory) in
  63. a directory list.  The file still exists, and can be used in the hidden state
  64. if you know the filename.  This attribute is useful if you are working with
  65. confidential files.
  66.  
  67. The read-only attribute prevents a file from being deleted or written to.
  68. You will still be able to see the file (assuming the hidden or system
  69. attributes are not on) but you will not be able to modify it in any way.
  70. This attribute is useful for protecting files containing important 
  71. information.
  72.  
  73. The system attribute designates a file as a system file.  This has the same
  74. effect as the hidden attribute in that the file won't appear in a directory
  75. list.
  76.  
  77.  
  78. >\<  System Requirements
  79.  
  80. Attribute was written for an IBM PC or compatible using DOS 2.0 or higher.
  81. An 80x25 display is required, and can be color or mono.
  82.  
  83.  
  84. >\<  Comments?  Problems?
  85.  
  86. If you have any comments or find any bugs, I would be interested in hearing 
  87. from you.  You can reach me on CompuServe at 75210,3120 or by calling the 
  88. Fremont Arsenal BBS at 913-267-5238 or 913-267-9624 (N81) and leaving E-Mail.  
  89. If you have access to CircuitNet, you can route a message to me at 913000.
  90.  
  91.  
  92. >\<  Miscellaneous
  93.  
  94. You are allowed to freely distribute this program to all ends of the Earth
  95. (and beyond, if you like) as long as no fee is charged other than a reasonable
  96. media expense.  Use this program at your own risk.
  97.  
  98. Released: 03/07/93 as freeware
  99. Suggested archive name: ATTR10.ZIP
  100. Attribute was written in Turbo Pascal 6.0
  101.